export enum PlatformDefine {
    PhoenixGame,      //  默认平台
    WeChatGame,       // 微信
    AliPayGame,       // 支付宝
    ByteJumpGame      // 字节跳动
}

export class PlatformDefineHelper {
    static GetPlatformString(platformType: number): string {
        switch (platformType) {
            case PlatformDefine.PhoenixGame:
                return "PhoenixGame";
            case PlatformDefine.WeChatGame:
                return "WeChatGame";
            case PlatformDefine.AliPayGame:
                return "AliPayGame";
            case PlatformDefine.ByteJumpGame:
                return "ByteJumpGame";
            default:
                return "UnknownGame";
        }
    }
}

